const graph = {
    0:[1,2],
    1:[2],
    2:[0,3],
    3:[3]
};